@import '~antd/es/style/themes/default.less';

@pro-header-hover-bg: rgba(0, 0, 0, 0.025);
li{ 
  list-style: none;
  a {
    color:white;
 }
 .noticeflex{
  display: flex;
  width: 80%;
  justify-content: space-between;
  margin: auto;
   span{
    //  margin:0 30px;
     color: #355fb8;
   }
 }

}
.menu {
  :global(.anticon) {
    margin-right: 8px;
  }
  :global(.ant-dropdown-menu-item) {
    min-width: 160px;
  }
}
.overallNotice {
  width: 100%;
  height: 30px;
  // position: fixed;
  z-index: 1;
  background:#faad14;
  top: 0;
  left: 0;
  line-height: 0px;
  cursor: pointer;
  marquee{
    height: 30px;
    line-height: 30px;
  }
  .item{
    height: 30px;
    background-color: red;
    line-height: 30px;
    padding: 0 24px;
  }
.block2{
    background-color:#ffae00;
}
.block3{
   
    background-color: #fd6864;
}
.block4{
  span{
    color: white;
  }
    background-color:#333;
}
} 
.hearder{
  display: flex;
  padding: 0 24px;
  height: 84px;
  background-image: url(../../assets/img/title.png);
  background-size: cover;
  border-bottom: 1px solid #1f4aa1;
  .hearderLeft{
    display: flex;
    align-items: center;
    line-height: 50px;
    color:white;
    .projectName{
      height: 32px;
      margin: 0 0 0 8px;
      margin: 0 0 0 12px;
      color: white;
      font-weight: 600;
      font-size: 18px;
      line-height: 32px;
    }
    .hearderlog{

    }
  }
}

.right {
  display: flex;
  float: right;
  height: 84px;
  margin-left: auto;
  overflow: hidden;
  color:white;
  .action {
    display: flex;
    align-items: center;
    height: 84px;
    padding: 0 12px;
    cursor: pointer;
    transition: all 0.3s;
    > span {
      vertical-align: middle;
    }
    &:hover {
      background: @pro-header-hover-bg;
    }
    &:global(.opened) {
      background: @pro-header-hover-bg;
    }
  }
  .search {
    padding: 0 12px;
    &:hover {
      background: transparent;
    }
  }
  .account {
    .avatar {
      margin-right: 8px;
      color: @primary-color;
      vertical-align: top;
      background: rgba(255, 255, 255, 0.85);
    }
  }
}

.dark {
  .action {
    &:hover {
      background: #252a3d;
    }
    &:global(.opened) {
      background: #252a3d;
    }
  }
}

@media only screen and (max-width: @screen-md) {
  :global(.ant-divider-vertical) {
    vertical-align: unset;
  }
  .name {
    display: none;
  }
  .right {
    position: absolute;
    top: 0;
    right: 12px;
    .account {
      .avatar {
        margin-right: 0;
      }
    }
    .search {
      display: none;
    }
  }
}
